import request from '@/utils/request'

// 查询活动报名管理列表
export function listActRegister(query) {
  return request({
    url: '/act/actRegister/list',
    method: 'get',
    params: query
  })
}

// 查询活动报名管理详细
export function getActRegister(id) {
  return request({
    url: '/act/actRegister/' + id,
    method: 'get'
  })
}

// 新增活动报名管理
export function addActRegister(data) {
  return request({
    url: '/act/actRegister',
    method: 'post',
    data: data
  })
}

// 修改活动报名管理
export function updateActRegister(data) {
  return request({
    url: '/act/actRegister',
    method: 'put',
    data: data
  })
}

// 删除活动报名管理
export function delActRegister(id) {
  return request({
    url: '/act/actRegister/' + id,
    method: 'delete'
  })
}
